<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function reverse(arr){
           var arr2 = []
           for(var i = arr.length-1;i>=0;i--){
               arr2[arr2.length] = arr[i]
           }
           return arr2
        }
        var arr1 = reverse([1,3,4,6,9])
        console.log(arr1);
        var str = "你好你来";
        var res  = str.match("你");
        console.log(res)
    </script>
</body>
</html>